require('legendary').setup({
	keymaps = {
		-- map keys to a command
		{ '<F3>', ':Legendary<CR>', description = 'Legendary' },
	},
	commands = {
	},
	funcs = {
	},
	autocmds = {
	},
	-- load extensions
	extensions = {
		-- load keymaps and commands from nvim-tree.lua
		nvim_tree = true,
		-- load commands from smart-splits.nvim
		-- and create keymaps, see :h legendary-extensions-smart-splits.nvim
		smart_splits = {
			directions = { 'h', 'j', 'k', 'l' },
			mods = {
				move = '<C>',
				resize = '<M>',
			},
		},
		-- load commands from op.nvim
		op_nvim = true,
		-- load keymaps from diffview.nvim
		diffview = true,
	},
})
vim.cmd([[
""noremap <silent> <F3> :Legendary<CR>
]])
